<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script src="jquery-2.1.4.js"></script>
<!--<script src="ajax.js"></script>-->
<script>
    function aa() {
        $.ajax({
            type: "post",
            url: "http://ydjr.dev.chengyiwm.com/goldman-api/"+"getAppInfo",
            data: {
                head : {
                    userId : null,
                    skey : null,
                    platform : "pc",
                    imei : "",
                    appVersion : "",
                    cityId : "",
                    platformVersion : "",
                    deviceId : "",
                    channel : "",
                    protoVersion : 1,
                    isPreview : 2
                },
                body : {}
            },
            dataType: "json",
            success: function(res){
              console.log(res);
            }
        });
    }

    aa();
</script>

</body>
</html>